var mysql=require('mysql2');
//封装连接数据库
var conn=function(){
    var conn=mysql.createConnection({
        host:'127.0.0.1',
        database:'jdsql',
        user:'root',
        password:''
    })
    return conn;
}
module.exports=conn;